package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.card.EntityXfRecordWaitpay;
import com.ocom.common.request.payconfig.repairpay.GetRepairPayRecordListRequest;

import java.util.List;

public interface XfRecordWaitpayService extends IService<EntityXfRecordWaitpay> {

    PageInfo<EntityXfRecordWaitpay> getXfRecordWaitpay(Long comId, boolean allComId, GetRepairPayRecordListRequest request);

    List<EntityXfRecordWaitpay> getRepairPaySum(Long comId, Long pId);

    boolean removeById(Long comId, Long id);

    boolean removeByOrderNo(Long comId, String orderNo);

    boolean updatePayState(Long comId, EntityXfRecordWaitpay entity);
}
